package com.qf.service.impl;

import com.qf.dao.MenuDao;
import com.qf.service.MenuService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.Set;
@Service
public class MenuServiceImpl implements MenuService {

    @Autowired
    MenuDao menuDao;
    @Override
    public Set<String> findPerms(int userId) {
        return menuDao.findPerms(userId);
    }
}
